package com.example.sunmiv1.entity;

import java.io.Serializable;
import java.util.List;

/**
 * Created by Administrator on 2018-10-16.
 */

public class LoginBean {

    /**
     * status : 1
     * msg : 登陸成功
     * userinfo : {"userType":1,"storeTag":"姑蘇零售店","storelist":[{"storeid":"1","name":"姑蘇零售店"},{"storeid":"3","name":"小丫惠民"},{"storeid":"2","name":"虎丘零售店"}],"merchantid":"1","uid":"1"}
     */

    private int status;
    private String msg;
    private UserinfoBean userinfo;

    public int getStatus() {
        return status;
    }

    public void setStatus(int status) {
        this.status = status;
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    public UserinfoBean getUserinfo() {
        return userinfo;
    }

    public void setUserinfo(UserinfoBean userinfo) {
        this.userinfo = userinfo;
    }

    public static class UserinfoBean {
        /**
         * usertype : 1
         * storeTag : 姑蘇零售店
         * storelist : [{"storeid":"1","name":"姑蘇零售店"},{"storeid":"3","name":"小丫惠民"},{"storeid":"2","name":"虎丘零售店"}]
         * merchantid : 1
         * uid : 1
         */

        private int usertype;
        private String storetag;
        private String merchantid;
        private String uid;
        private String operator_id;
        private List<StorelistBean> storelist;
        private boolean is_credit;
        private String is_check_show_invenum;
        private String platform_type;

        public String getPlatform_type() {
            return platform_type == null ? "" : platform_type;
        }

        public String getIs_check_show_invenum() {
            return is_check_show_invenum == null ? "" : is_check_show_invenum;
        }

        public void setIs_check_show_invenum(String is_check_show_invenum) {
            this.is_check_show_invenum = is_check_show_invenum;
        }

        public boolean isIs_credit() {
            return is_credit;
        }

        public void setIs_credit(boolean is_credit) {
            this.is_credit = is_credit;
        }

        public int getUsertype() {
            return usertype;
        }

        public void setUsertype(int usertype) {
            this.usertype = usertype;
        }

        public String getStoretag() {
            return storetag;
        }

        public void setStoretag(String storetag) {
            this.storetag = storetag;
        }

        public String getMerchantid() {
            return merchantid;
        }

        public void setMerchantid(String merchantid) {
            this.merchantid = merchantid;
        }

        public String getUid() {
            return uid;
        }

        public void setUid(String uid) {
            this.uid = uid;
        }

        public List<StorelistBean> getStorelist() {
            return storelist;
        }

        public void setStorelist(List<StorelistBean> storelist) {
            this.storelist = storelist;
        }

        public String getOperator_id() {
            return operator_id == null ? "" : operator_id;
        }

        public void setOperator_id(String operator_id) {
            this.operator_id = operator_id;
        }

        public static class StorelistBean implements Serializable{
            /**
             * storeid : 1
             * name : 姑蘇零售店
             */

            private String storeid;
            private String name;

            public String getStoreid() {
                return storeid;
            }

            public void setStoreid(String storeid) {
                this.storeid = storeid;
            }

            public String getName() {
                return name;
            }

            public void setName(String name) {
                this.name = name;
            }
        }
    }
}
